package com.mtons.mblog.modules.repository;

import com.mtons.mblog.modules.entity.Tool;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * NavRepository.
 * @author yuzhong
 * @date 2019/2/27 16:51
 */
public interface ToolRepository extends JpaRepository<Tool,Integer>,JpaSpecificationExecutor<Tool> {
    /**
     * 查询所有工具列表
     * @param pageable
     * @return
     */
    @Override
    Page<Tool> findAll(Pageable pageable);
}
